﻿<%@ Page Title="Fare Stairs" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="FareStairs.aspx.cs" Inherits="IFD2.FareStairs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <form id="form1" runat="server" role="form" class="form-inline" defaultbutton="lbtnQuery">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
    <div class="container-fluid body-content" style="width:100%;">

    <div class="row">
        <div class="col-sm-2 well well-sm">
            <h5><asp:Literal ID="litTitle" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h5>
            <div class="form-group">
                <asp:Label ID="Label2" runat="server" Text="Fare Code:" meta:resourcekey="FareCode"></asp:Label>
                <asp:Label ID="lblFareCode" runat="server" Font-Bold="True"></asp:Label><br />
                <asp:Label ID="Label9" runat="server" Text="Segment No.:" meta:resourcekey="SegmentNo"></asp:Label>
                <asp:Label ID="lblSegNo" runat="server" Font-Bold="True"></asp:Label>
            </div>
            <br class="hidden-xs"/><br class="hidden-xs"/>
            <asp:LinkButton ID="lbtnQuery" runat="server" CssClass="form-control input-sm btn-primary text-center" Width="100%" ToolTip="" meta:resourcekey="tipQuery" OnClick="lbtnQuery_Click"> <span class="glyphicon glyphicon-search" style="font-size:large;"></span></asp:LinkButton>
            <p></p><%--没有此行(或&nbsp;)，上面的按钮在手机模式(xs)下，只有上半部可以点击！--%>
        </div>

        <div class="col-sm-10 well well-sm">
            <div class="panel">
                <div class="panel-heading btn-primary">
                    <h6 class="panel-title" id="section-2"><asp:Literal ID="Literal1" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h6>
                </div>
                <div class="panel-body">
                    <div class="table-responsive">
                        <table>
                        <tr>
                        <td style="text-align:center;"><asp:Label ID="Label13" runat="server" Text="AdtPrice" Font-Bold="True" meta:resourcekey="AdtPrice"></asp:Label></td>
                        <td style="text-align:center;vertical-align:bottom;"><asp:Table ID="tabAdtPrice" runat="server"></asp:Table></td></tr>
                        <tr>
                        <td style="text-align:center;"><asp:Label ID="Label14" runat="server" Text="ChdPrice" Font-Bold="True" meta:resourcekey="ChdPrice"></asp:Label></td>
                        <td style="text-align:center;vertical-align:bottom;"><asp:Table ID="tabChdPrice" runat="server"></asp:Table></td></tr>
                        <tr>
                        <td style="text-align:center;"><asp:Label ID="Label15" runat="server" Text="InfPrice" Font-Bold="True" meta:resourcekey="InfPrice"></asp:Label></td>
                        <td style="text-align:center;vertical-align:bottom;"><asp:Table ID="tabInfPrice" runat="server"></asp:Table></td>
                        </tr>
                        </table>
                    </div>
                    <asp:Label ID="lblLegend" runat="server" Font-Bold="True" Text="Legend:" meta:resourcekey="Ledgend"></asp:Label>
                    <img src='images\bar_green.bmp' height="10" width="10" /> <asp:Label ID="lblGreen" runat="server" Text="Approved" meta:resourcekey="Green"></asp:Label>&nbsp; &nbsp;
                    <img src='images\bar_blue.bmp' height="10" width="10" /> <asp:Label ID="lblBlue" runat="server" Text="Approved but Request to Delete" meta:resourcekey="Blue"></asp:Label>&nbsp; &nbsp;
                    <img src='images\bar_yellow.bmp' height="10" width="10" /> <asp:Label ID="lblYellow" runat="server" Text="Wait for Approment" meta:resourcekey="Yellow"></asp:Label>&nbsp; &nbsp;
                    <img src='images\bar_red.bmp' height="10" width="10" /> <asp:Label ID="lblRed" runat="server" Text="Disabled" meta:resourcekey="Red"></asp:Label>
                    <br /><br />
                    <asp:Label ID="lblError" runat="server" CssClass="ifdMessage"></asp:Label><br />
                    

                    <div class="well well-sm">
                        <asp:Label ID="Label1" runat="server" Text="Days Before Flight:" Font-Bold="True" meta:resourcekey="DaysBeforeFlight"></asp:Label>
                        &nbsp;&nbsp;&nbsp;
                        <asp:Label ID="Label25" runat="server" Font-Bold="False" Font-Size="XX-Large" Text="-"></asp:Label>
                        &nbsp;<asp:TextBox ID="txtDBF" runat="server" Width="35px" MaxLength="3">0</asp:TextBox>&nbsp;[-365,0] &nbsp;&nbsp;
                        <div class="btn-group">
                            <asp:Button ID="btnApprove" runat="server" Text="Approve" OnClick="btnApprove_Click"  meta:resourcekey="Approve" CssClass="btn btn-sm btn-default" />
                            <asp:Button ID="btnReject" runat="server" OnClick="btnReject_Click" Text="Reject"  meta:resourcekey="Reject" CssClass="btn btn-sm btn-default" />
                            <asp:Button ID="btnRetreive" runat="server" OnClick="btnRetreive_Click" Text="Retreive"  meta:resourcekey="Retreive" CssClass="btn btn-sm btn-default" />
                            <asp:Button ID="btnDelete" runat="server" Text="Delete" OnClick="btnDelete_Click"  meta:resourcekey="Delete" CssClass="btn btn-sm btn-default" />
                        </div>
                        <br /><br />
                        <table>
                        <tr>
                        <td></td><td style="text-align:center;"><asp:Label ID="Label22" runat="server" Text="Adult" meta:resourcekey="Adult"></asp:Label></td>
                        <td style="text-align:center;"><asp:Label ID="Label23" runat="server" Text="Child" meta:resourcekey="Child"></asp:Label></td>
                        <td style="text-align:center;"><asp:Label ID="Label24" runat="server" Text="Infant" meta:resourcekey="Infant"></asp:Label></td>
                        </tr>
                        <tr>
                        <td  style="text-align:center;"><asp:Label ID="Label3" runat="server" Text="Tkt. Price:" meta:resourcekey="TktPrice"></asp:Label></td>
                        <td><asp:TextBox ID="txtAdtPrice" runat="server" Width="64px"></asp:TextBox></td>
                        <td><asp:TextBox ID="txtChdPrice" runat="server" Width="64px"></asp:TextBox></td>
                        <td><asp:TextBox ID="txtInfPrice" runat="server" Width="64px"></asp:TextBox></td>
                        </tr>
        
                        <tr>
                        <td colspan="4" style="text-align:center;">
                            <asp:Button ID="btnAdd" runat="server" Text="Add" OnClick="btnAdd_Click" CssClass="btn btn-sm btn-default"  meta:resourcekey="Add" />&nbsp;&nbsp;
                            <asp:Button ID="btnChange" runat="server" Text="Change" OnClick="btnChange_Click" CssClass="btn btn-sm btn-default"  meta:resourcekey="Change" /></td>
                        </tr>
                        </table>
                        <asp:Label ID="Label4" runat="server" Text="Note: DBF<>0 is not available for Open Products!" meta:resourcekey="Note"></asp:Label>
                    </div>
                </div>
            </div>
        </div>
    </div>

    </div>
    </ContentTemplate></asp:UpdatePanel>
    </form>

</asp:Content>
